
import { createStore } from 'vuex'
import createPersistedState from 'vuex-persistedstate';
import app from './modules/app'
import user from './modules/user'
import form from './modules/form'
export default createStore({
    plugins:[
        createPersistedState({
            key: process.env.VUE_APP_NAME,
            storage:window.sessionStorage,
            reducer(val) {
                return {

                }
            }
        })
    ],
    modules:{
        app,user,
        form
    }
})
